Package com.cisco.pt.ipc.sim.pdu
Interface RIPPacket
- All Known Subinterfaces:
RIPv6Packet
- All Known Implementing Classes:
RIPPacketImpl,RIPv6PacketImpl
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetCommand(Byte command) voidsetIsRedistributed(boolean isRedistributed) voidsetRoutes(List<RIPRoutePacket> routes) voidsetRoutingDomain(Short routingDomain) voidsetVersion(Byte version) Methods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
encodeTypeAndPayload, getFieldValue, getOrderedFieldNames, pduRead
-
Method Details
-
getCommand
Byte getCommand()- Returns:
- Byte Returns a Byte
-
setCommand
- Parameters:
command- Takes in a parameter of command
-
getVersion
Byte getVersion()- Returns:
- Byte Returns a Byte
-
setVersion
- Parameters:
version- Takes in a parameter of version
-
getRoutingDomain
Short getRoutingDomain()- Returns:
- Short Returns a Short
-
setRoutingDomain
- Parameters:
routingDomain- Takes in a parameter of routingDomain
-
getRoutes
List<RIPRoutePacket> getRoutes()- Returns:
- List<RIPRoutePacket> Returns a List<RIPRoutePacket>
-
setRoutes
- Parameters:
routes- Takes in a parameter of routes
-
getIsRedistributed
boolean getIsRedistributed()- Returns:
- boolean Returns a boolean
-
setIsRedistributed
void setIsRedistributed(boolean isRedistributed) - Parameters:
isRedistributed- Takes in a parameter of isRedistributed
-